#include "Camera.h"

Camera::Camera(Vertex3D pos,Vertex3D vPos,Vertex3D rot,Vertex3D vRot) : Object(pos,vPos,rot,vRot)
{
    //ctor
}

Camera::~Camera()
{
    //dtor
}

void Camera::draw()
{
    //glPushMatrix();

    glRotatef(this->rot.Getx(),1,0,0);
    glRotatef(this->rot.Gety(),0,1,0);
    glRotatef(this->rot.Getz(),0,0,1);

    glTranslatef(this->pos.Getx(), this->pos.Gety(), this->pos.Getz());

    //glPopMatrix();
}

void Camera::update()
{
    this->updatePos();
}
